require.config({
	appDir: "./",
	baseUrl: 'js/',
	shim: {
		'layui': {
			deps: ['jquery'],
			exports: 'layui'
		},
		/*'laydate':{
			deps : ['jquery'],
			exports:'laydate'
		},*/
		'zTree': {
			deps: ['jquery'],
			exports: 'zTree'
		},
		'select2': {
			deps: ['jquery'],
			exports: 'select2'
		},
		'BMap': {
			exports: 'BMap'
		},
		'pagination': {
			deps: ['jquery'],
			exports: 'pagination'
		},
		'common': {
			deps: ['jquery'],
			exports: 'common'
		}
	},
	map: {
		'*': {
			'css': 'lib/requirejs/css.min'
		}
	},
	paths: {
		'underscore': 'lib/jquery/underscore-min',
		'text': 'lib/requirejs/text',
		'jquery': 'lib/jquery/jquery-3.2.1.min',
		'form': 'lib/jquery/jquery.form',
		'pagination': 'lib/jquery/jquery.pagination.min',
		'easyui': 'lib/jquery/jquery.easyui.min',
		'JSON': 'lib/requirejs/json',
		'common': 'common/common',
		'static': 'common/static',
		'layui': 'lib/layui/layui.all',
		/*'layer':'lib/layer/layer',
		'laydate':'lib/layer/laydate',*/
		'echarts': 'lib/echarts/echarts.min',
		'zTree': 'lib/zTree/js/jquery.ztree.all.min',
		'select2': 'lib/select2/js/select2.full.min',
		'async': 'lib/requirejs/async',
		'BMap': 'http://api.map.baidu.com/api?v=3.0&ak=G8wu64MlC0dfgp3yKUlVGTowuY6dE8BZ',
		// 'BMap': 'https://api.map.baidu.com/api?v=3.0&ak=t6wd03LeCi4amQj9s0uSG49WPMlSNaGQ&s=1',
		'View': 'view/view',
		'Home': 'view/home',
		'Map': 'view/map',
		'Area': 'view/area',
		'Examine': 'view/examine',
		'examHandle': 'view/examHandle',
		'news': 'view/news',
		'Repair': 'view/repair',
		'repairMsg': 'view/repairMsg',
		'Report': 'view/report',
		'Route': 'view/route',
		'Task': 'view/task',
		'User': 'view/user',
		'Table': 'view/table',
		'suggestion': 'view/suggestion',
	},
});
require(['View', 'async!BMap'], function () {

});